EESchema Schematic File Version 4 EELAYER 30 0 EELAYER END $Descr A4 11693 8268 encoding utf-8 Sheet 1 1 Title "" Date "" Rev "" Comp "" Comment1 "" Comment2 "" Comment3 "" Comment4 "" $EndDescr $Comp L fab:Regulator_Linear_ZLDO1117-3.3V-1A U1 U 1 1 603358FB P 1500 900 F 0 "U1" H 1500 1142 50 0000 C CNN F 1 "Regulator_Linear_ZLDO1117-3.3V-1A" H 1500 1051 50 0000 C CNN F 2 "fab:SOT-223-3_TabPin2" H 1500 1100 50 0001 C CNN F 3 "http://www.diodes.com/datasheets/AP1117.pdf" H 1600 650 50 0001 C CNN 1 1500 900 1 0 0 -1 $EndComp $Comp L fab:C C1 U 1 1 603363E0 P 1050 1150 F 0 "C1" H 1165 1196 50 0000 L CNN F 1 "4.7u" H 1165 1105 50 0000 L CNN F 2 "fab:C_1206" H 1088 1000 50 0001 C CNN F 3 "" H 1050 1150 50 0001 C CNN 1 1050 1150 1 0 0 -1 $EndComp $Comp L fab:C C2 U 1 1 60337A9A P 1950 1150 F 0 "C2" H 2065 1196 50 0000 L CNN F 1 "4.7u" H 2065 1105 50 0000 L CNN F 2 "fab:C_1206" H 1988 1000 50 0001 C CNN F 3 "" H 1950 1150 50 0001 C CNN 1 1950 1150 1 0 0 -1 $EndComp $Comp L power:GND #PWR06 U 1 1 603380E2 P 1500 1400 F 0 "#PWR06" H 1500 1150 50 0001 C CNN F 1 "GND" H 1505 1227 50 0000 C CNN F 2 "" H 1500 1400 50 0001 C CNN F 3 "" H 1500 1400 50 0001 C CNN 1 1500 1400 1 0 0 -1 $EndComp $Comp L power:GND #PWR04 U 1 1 603384A7 P 1050 1400 F 0 "#PWR04" H 1050 1150 50 0001 C CNN F 1 "GND" H 1055 1227 50 0000 C CNN F 2 "" H 1050 1400 50 0001 C CNN F 3 "" H 1050 1400 50 0001 C CNN 1 1050 1400 1 0 0 -1 $EndComp $Comp L power:GND #PWR07 U 1 1 60338797 P 1950 1400 F 0 "#PWR07" H 1950 1150 50 0001 C CNN F 1 "GND" H 1955 1227 50 0000 C CNN F 2 "" H 1950 1400 50 0001 C CNN F 3 "" H 1950 1400 50 0001 C CNN 1 1950 1400 1 0 0 -1 $EndComp Wire Wire Line 1050 1400 1050 1300 Wire Wire Line 1500 1400 1500 1200 Wire Wire Line 1950 1400 1950 1300 Wire Wire Line 1950 1000 1950 900 Wire Wire Line 1950 900 1800 900 Wire Wire Line 1050 1000 1050 900 Wire Wire Line 1050 900 1200 900 $Comp L power:+3.3V #PWR010 U 1 1 603395F7 P 2400 850 F 0 "#PWR010" H 2400 700 50 0001 C CNN F 1 "+3.3V" H 2415 1023 50 0000 C CNN F 2 "" H 2400 850 50 0001 C CNN F 3 "" H 2400 850 50 0001 C CNN 1 2400 850 1 0 0 -1 $EndComp Wire Wire Line 1950 900 2400 900 Wire Wire Line 2400 900 2400 850 Connection ~ 1950 900 $Comp L power:+BATT #PWR01 U 1 1 6033A99E P 650 850 F 0 "#PWR01" H 650 700 50 0001 C CNN F 1 "+BATT" H 665 1023 50 0000 C CNN F 2 "" H 650 850 50 0001 C CNN F 3 "" H 650 850 50 0001 C CNN 1 650 850 1 0 0 -1 $EndComp Wire Wire Line 1050 900 650 900 Wire Wire Line 650 900 650 850 Connection ~ 1050 900 $Comp L fab:BUTTON_B3SN SW1 U 1 1 6033F1E4 P 750 3300 F 0 "SW1" V 796 3252 50 0000 R CNN F 1 "BUTTON_B3SN" V 705 3252 50 0000 R CNN F 2 "fab:Button_Omron_B3SN_6x6mm" H 750 3500 50 0001 C CNN F 3 "https://omronfs.omron.com/en_US/ecb/products/pdf/en-b3sn.pdf" H 750 3500 50 0001 C CNN 1 750 3300 0 -1 -1 0 $EndComp $Comp L power:+3.3V #PWR02 U 1 1 60341C30 P 750 2400 F 0 "#PWR02" H 750 2250 50 0001 C CNN F 1 "+3.3V" H 765 2573 50 0000 C CNN F 2 "" H 750 2400 50 0001 C CNN F 3 "" H 750 2400 50 0001 C CNN 1 750 2400 1 0 0 -1 $EndComp $Comp L fab:R R1 U 1 1 6034268B P 750 2600 F 0 "R1" H 820 2646 50 0000 L CNN F 1 "10k" H 820 2555 50 0000 L CNN F 2 "fab:R_1206" V 680 2600 50 0001 C CNN F 3 "~" H 750 2600 50 0001 C CNN 1 750 2600 1 0 0 -1 $EndComp Wire Wire Line 750 2450 750 2400 $Comp L power:GND #PWR03 U 1 1 603455BE P 750 3600 F 0 "#PWR03" H 750 3350 50 0001 C CNN F 1 "GND" H 755 3427 50 0000 C CNN F 2 "" H 750 3600 50 0001 C CNN F 3 "" H 750 3600 50 0001 C CNN 1 750 3600 1 0 0 -1 $EndComp Wire Wire Line 750 3600 750 3500 $Comp L power:+3.3V #PWR05 U 1 1 603484D2 P 1300 2400 F 0 "#PWR05" H 1300 2250 50 0001 C CNN F 1 "+3.3V" H 1315 2573 50 0000 C CNN F 2 "" H 1300 2400 50 0001 C CNN F 3 "" H 1300 2400 50 0001 C CNN 1 1300 2400 1 0 0 -1 $EndComp $Comp L fab:R R2 U 1 1 603484DC P 1300 2600 F 0 "R2" H 1370 2646 50 0000 L CNN F 1 "10k" H 1370 2555 50 0000 L CNN F 2 "fab:R_1206" V 1230 2600 50 0001 C CNN F 3 "~" H 1300 2600 50 0001 C CNN 1 1300 2600 1 0 0 -1 $EndComp Wire Wire Line 1300 2450 1300 2400 Wire Wire Line 1300 3150 1300 2750 Text Label 1300 3150 0 50 ~ 0 EN $Comp L power:+3.3V #PWR08 U 1 1 603626AD P 2350 2600 F 0 "#PWR08" H 2350 2450 50 0001 C CNN F 1 "+3.3V" H 2365 2773 50 0000 C CNN F 2 "" H 2350 2600 50 0001 C CNN F 3 "" H 2350 2600 50 0001 C CNN 1 2350 2600 1 0 0 -1 $EndComp Text GLabel 7000 2350 0 50 Input ~ 0 IO4 Text GLabel 7000 2450 0 50 Input ~ 0 IO5 Wire Wire Line 7100 2350 7000 2350 Wire Wire Line 7100 2450 7000 2450 $Comp L fab:SWITCH_AYZ0102AGRLC SW2 U 1 1 602CFA63 P 5400 3400 F 0 "SW2" H 5400 3650 50 0000 C CNN F 1 "SWITCH_AYZ0102AGRLC" H 5050 3550 50 0000 C CNN F 2 "fab:Switch_SPDT_C&K_AYZ0102AGRLC_7.2x3mm_P2.5mm" H 5400 3400 50 0001 C CNN F 3 "https://www.ckswitches.com/media/1431/ayz.pdf" H 5400 3400 50 0001 C CNN 1 5400 3400 1 0 0 -1 $EndComp Text GLabel 3300 3150 2 50 Input ~ 0 IO2 Text GLabel 3300 3850 2 50 Input ~ 0 IO15 Text GLabel 3050 3650 2 50 Input ~ 0 IO13 Text GLabel 3050 3550 2 50 Input ~ 0 IO12 Text GLabel 3050 3750 2 50 Input ~ 0 IO14 Text GLabel 3050 3350 2 50 Input ~ 0 IO4 Text GLabel 3050 3450 2 50 Input ~ 0 IO5 Text GLabel 3050 3950 2 50 Input ~ 0 IO16 $Comp L power:GND #PWR016 U 1 1 60376C09 P 6750 3700 F 0 "#PWR016" H 6750 3450 50 0001 C CNN F 1 "GND" H 6755 3527 50 0000 C CNN F 2 "" H 6750 3700 50 0001 C CNN F 3 "" H 6750 3700 50 0001 C CNN 1 6750 3700 1 0 0 -1 $EndComp $Comp L power:+3.3V #PWR015 U 1 1 60378D93 P 6600 2250 F 0 "#PWR015" H 6600 2100 50 0001 C CNN F 1 "+3.3V" H 6615 2423 50 0000 C CNN F 2 "" H 6600 2250 50 0001 C CNN F 3 "" H 6600 2250 50 0001 C CNN 1 6600 2250 1 0 0 -1 $EndComp Wire Wire Line 7100 2550 6600 2550 $Comp L RF_Module:ESP-12E U2 U 1 1 60352A10 P 2350 3550 F 0 "U2" H 2650 4400 50 0000 C CNN F 1 "ESP-12E" H 2650 4300 50 0000 C CNN F 2 "RF_Module:ESP-12E" H 2350 3550 50 0001 C CNN F 3 "http://wiki.ai-thinker.com/_media/esp8266/esp8266_series_modules_user_manual_v1.1.pdf" H 2000 3650 50 0001 C CNN 1 2350 3550 1 0 0 -1 $EndComp Text GLabel 3050 3050 2 50 Input ~ 0 RX Text GLabel 3050 3250 2 50 Input ~ 0 TX Text GLabel 3300 2950 2 50 Input ~ 0 PROG Wire Wire Line 3050 3050 2950 3050 Wire Wire Line 3300 3150 2950 3150 Wire Wire Line 3050 3250 2950 3250 Wire Wire Line 3050 3350 2950 3350 Wire Wire Line 3050 3450 2950 3450 Wire Wire Line 3050 3550 2950 3550 Wire Wire Line 3050 3650 2950 3650 Wire Wire Line 2950 3750 3050 3750 Wire Wire Line 3300 3850 2950 3850 Wire Wire Line 2950 3950 3050 3950 Text Label 750 2950 0 50 ~ 0 RST Wire Wire Line 750 2750 750 2950 Wire Wire Line 1750 3150 1300 3150 $Comp L power:GND #PWR09 U 1 1 60378491 P 2350 4400 F 0 "#PWR09" H 2350 4150 50 0001 C CNN F 1 "GND" H 2355 4227 50 0000 C CNN F 2 "" H 2350 4400 50 0001 C CNN F 3 "" H 2350 4400 50 0001 C CNN 1 2350 4400 1 0 0 -1 $EndComp Wire Wire Line 2350 4400 2350 4250 Wire Wire Line 2350 2750 2350 2600 Text GLabel 5100 3400 0 50 Input ~ 0 PROG Wire Wire Line 5200 3400 5100 3400 Wire Wire Line 3300 2950 2950 2950 Text GLabel 1650 3350 0 50 Input ~ 0 ADC Text GLabel 1650 3550 0 50 Input ~ 0 CSO Text GLabel 1650 3650 0 50 Input ~ 0 MISO Text GLabel 1650 3950 0 50 Input ~ 0 MOSI Text GLabel 1650 4050 0 50 Input ~ 0 SCLK Wire Wire Line 750 2950 1750 2950 Connection ~ 750 2950 Wire Wire Line 750 2950 750 3100 Wire Wire Line 1750 3350 1650 3350 Wire Wire Line 1750 3550 1650 3550 Wire Wire Line 1650 3650 1750 3650 Wire Wire Line 1750 3950 1650 3950 Wire Wire Line 1650 4050 1750 4050 Text GLabel 7000 2850 0 50 Input ~ 0 ADC Text GLabel 7000 2950 0 50 Input ~ 0 IO16 Text GLabel 7000 3150 0 50 Input ~ 0 IO14 Text GLabel 7000 3250 0 50 Input ~ 0 IO12 Text GLabel 7000 3350 0 50 Input ~ 0 IO13 Wire Wire Line 7100 3350 7000 3350 Wire Wire Line 7100 3250 7000 3250 Wire Wire Line 7000 3150 7100 3150 Wire Wire Line 7100 3050 7000 3050 Wire Wire Line 7000 2950 7100 2950 $Comp L power:+3.3V #PWR013 U 1 1 603AE125 P 5700 2800 F 0 "#PWR013" H 5700 2650 50 0001 C CNN F 1 "+3.3V" H 5715 2973 50 0000 C CNN F 2 "" H 5700 2800 50 0001 C CNN F 3 "" H 5700 2800 50 0001 C CNN 1 5700 2800 1 0 0 -1 $EndComp $Comp L power:GND #PWR014 U 1 1 603AE9E2 P 5700 4000 F 0 "#PWR014" H 5700 3750 50 0001 C CNN F 1 "GND" H 5705 3827 50 0000 C CNN F 2 "" H 5700 4000 50 0001 C CNN F 3 "" H 5700 4000 50 0001 C CNN 1 5700 4000 1 0 0 -1 $EndComp Wire Wire Line 5700 3500 5600 3500 Wire Wire Line 5600 3300 5700 3300 $Comp L fab:Conn_01x04_Male J4 U 1 1 603E0E5C P 7300 4300 F 0 "J4" H 7272 4182 50 0000 R CNN F 1 "Conn_01x04_Male" H 7272 4273 50 0000 R CNN F 2 "fab:Header_SMD_01x04_P2.54mm_Horizontal_Male" H 7300 4300 50 0001 C CNN F 3 "~" H 7300 4300 50 0001 C CNN 1 7300 4300 -1 0 0 1 $EndComp Text GLabel 7000 4200 0 50 Input ~ 0 MISO Text GLabel 7000 4300 0 50 Input ~ 0 MOSI Text GLabel 7000 4400 0 50 Input ~ 0 SCLK Text GLabel 7000 4100 0 50 Input ~ 0 CSO Wire Wire Line 7100 4400 7000 4400 Wire Wire Line 7100 4300 7000 4300 Wire Wire Line 7100 4200 7000 4200 Wire Wire Line 7100 4100 7000 4100 Wire Wire Line 6600 2550 6600 3450 Wire Wire Line 6600 3450 7100 3450 Connection ~ 6600 2550 Wire Wire Line 6750 2650 6750 3550 $Comp L fab:Conn_01x04_Male J2 U 1 1 6040216D P 7300 2550 F 0 "J2" H 7272 2432 50 0000 R CNN F 1 "Conn_01x04_Male" H 7272 2523 50 0000 R CNN F 2 "fab:Header_SMD_01x04_P2.54mm_Horizontal_Male" H 7300 2550 50 0001 C CNN F 3 "~" H 7300 2550 50 0001 C CNN 1 7300 2550 -1 0 0 1 $EndComp Text GLabel 7000 1250 0 50 Input ~ 0 RX Text GLabel 7000 1350 0 50 Input ~ 0 TX Wire Wire Line 7000 1350 7100 1350 Wire Wire Line 7100 1250 7000 1250 $Comp L power:GND #PWR018 U 1 1 60354E8F P 7050 1700 F 0 "#PWR018" H 7050 1450 50 0001 C CNN F 1 "GND" H 7055 1527 50 0000 C CNN F 2 "" H 7050 1700 50 0001 C CNN F 3 "" H 7050 1700 50 0001 C CNN 1 7050 1700 1 0 0 -1 $EndComp $Comp L power:+BATT #PWR017 U 1 1 60353B76 P 7050 850 F 0 "#PWR017" H 7050 700 50 0001 C CNN F 1 "+BATT" H 7065 1023 50 0000 C CNN F 2 "" H 7050 850 50 0001 C CNN F 3 "" H 7050 850 50 0001 C CNN 1 7050 850 1 0 0 -1 $EndComp $Comp L fab:Conn_FTDI_01x06_Male J1 U 1 1 6034A332 P 7300 1450 F 0 "J1" H 7131 1369 50 0000 R CNN F 1 "Conn_FTDI_01x06_Male" H 7450 1050 50 0000 R CNN F 2 "fab:Header_SMD_FTDI_01x06_P2.54mm_Horizontal_Male" H 7300 1450 50 0001 C CNN F 3 "~" H 7300 1450 50 0001 C CNN 1 7300 1450 -1 0 0 1 $EndComp Text GLabel 4100 3350 0 50 Input ~ 0 IO2 $Comp L power:+3.3V #PWR011 U 1 1 603B9A0C P 4200 2900 F 0 "#PWR011" H 4200 2750 50 0001 C CNN F 1 "+3.3V" H 4215 3073 50 0000 C CNN F 2 "" H 4200 2900 50 0001 C CNN F 3 "" H 4200 2900 50 0001 C CNN 1 4200 2900 1 0 0 -1 $EndComp $Comp L fab:R R3 U 1 1 603B9A12 P 4200 3100 F 0 "R3" H 4270 3146 50 0000 L CNN F 1 "10k" H 4270 3055 50 0000 L CNN F 2 "fab:R_1206" V 4130 3100 50 0001 C CNN F 3 "~" H 4200 3100 50 0001 C CNN 1 4200 3100 1 0 0 -1 $EndComp Wire Wire Line 4200 2950 4200 2900 Wire Wire Line 4200 3350 4200 3250 Wire Wire Line 4100 3350 4200 3350 Text GLabel 4100 3500 0 50 Input ~ 0 IO15 $Comp L power:GND #PWR012 U 1 1 603C234C P 4200 4000 F 0 "#PWR012" H 4200 3750 50 0001 C CNN F 1 "GND" H 4205 3827 50 0000 C CNN F 2 "" H 4200 4000 50 0001 C CNN F 3 "" H 4200 4000 50 0001 C CNN 1 4200 4000 1 0 0 -1 $EndComp $Comp L fab:R R4 U 1 1 603C47CE P 4200 3750 F 0 "R4" H 4270 3796 50 0000 L CNN F 1 "10k" H 4270 3705 50 0000 L CNN F 2 "fab:R_1206" V 4130 3750 50 0001 C CNN F 3 "~" H 4200 3750 50 0001 C CNN 1 4200 3750 1 0 0 -1 $EndComp Wire Wire Line 4100 3500 4200 3500 Wire Wire Line 4200 3500 4200 3600 Wire Wire Line 4200 4000 4200 3900 $Comp L fab:R R6 U 1 1 603C37CB P 5700 3750 F 0 "R6" H 5770 3796 50 0000 L CNN F 1 "10k" H 5770 3705 50 0000 L CNN F 2 "fab:R_1206" V 5630 3750 50 0001 C CNN F 3 "~" H 5700 3750 50 0001 C CNN 1 5700 3750 1 0 0 -1 $EndComp $Comp L fab:R R5 U 1 1 603C3EF7 P 5700 3050 F 0 "R5" H 5770 3096 50 0000 L CNN F 1 "10k" H 5770 3005 50 0000 L CNN F 2 "fab:R_1206" V 5630 3050 50 0001 C CNN F 3 "~" H 5700 3050 50 0001 C CNN 1 5700 3050 1 0 0 -1 $EndComp Wire Wire Line 5700 2900 5700 2800 Wire Wire Line 5700 3200 5700 3300 Wire Wire Line 5700 3500 5700 3600 Wire Wire Line 5700 4000 5700 3900 Wire Wire Line 6600 2250 6600 2550 Wire Wire Line 6750 2650 7100 2650 Wire Wire Line 6750 3700 6750 3550 Connection ~ 6750 3550 Wire Wire Line 6750 3550 7100 3550 Wire Wire Line 7050 1700 7050 1650 Wire Wire Line 7050 1650 7100 1650 Wire Wire Line 7100 1450 7050 1450 Wire Wire Line 7050 1450 7050 950 $Comp L fab:Conn_01x08_Male J3 U 1 1 6043F440 P 7300 3250 F 0 "J3" H 7272 3132 50 0000 R CNN F 1 "Conn_01x08_Male" H 7272 3223 50 0000 R CNN F 2 "fab:Header_SMD_01x08_P2.54mm_Horizontal_Male" H 7300 3250 50 0001 C CNN F 3 "~" H 7300 3250 50 0001 C CNN 1 7300 3250 -1 0 0 1 $EndComp Text GLabel 7000 3050 0 50 Input ~ 0 IO2 Wire Wire Line 7100 2850 7000 2850 NoConn ~ 7100 1550 NoConn ~ 7100 1150 NoConn ~ 1750 3750 NoConn ~ 1750 3850 $Comp L power:PWR_FLAG #FLG0101 U 1 1 603B0580 P 6750 850 F 0 "#FLG0101" H 6750 925 50 0001 C CNN F 1 "PWR_FLAG" H 6750 1023 50 0000 C CNN F 2 "" H 6750 850 50 0001 C CNN F 3 "~" H 6750 850 50 0001 C CNN 1 6750 850 1 0 0 -1 $EndComp Wire Wire Line 6750 850 6750 950 Wire Wire Line 6750 950 7050 950 Connection ~ 7050 950 Wire Wire Line 7050 950 7050 850 $Comp L power:PWR_FLAG #FLG0102 U 1 1 603B3017 P 6750 1700 F 0 "#FLG0102" H 6750 1775 50 0001 C CNN F 1 "PWR_FLAG" H 6750 1873 50 0000 C CNN F 2 "" H 6750 1700 50 0001 C CNN F 3 "~" H 6750 1700 50 0001 C CNN 1 6750 1700 -1 0 0 1 $EndComp Wire Wire Line 6750 1700 6750 1650 Wire Wire Line 6750 1650 7050 1650 Connection ~ 7050 1650 $EndSCHEMATC